package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_PURCHASEPLAN database table.
 * 
 */
@Entity
@Table(name="HIS_PURCHASEPLAN")
@NamedQuery(name="HisPurchaseplan.findAll", query="SELECT h FROM HisPurchaseplan h")
public class HisPurchaseplan implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="CGJH_NO")
	private long cgjhNo;

	@Column(name="AUDIT_NO")
	private BigDecimal auditNo;

	@Column(name="CGJH_AUDITSTATUS")
	private String cgjhAuditstatus;

	@Temporal(TemporalType.DATE)
	@Column(name="CGJH_AUDITTIME")
	private Date cgjhAudittime;

	@Temporal(TemporalType.DATE)
	@Column(name="CGJH_TIME")
	private Date cgjhTime;

	@Column(name="CK_PRODUCTTYPE")
	private String ckProducttype;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	public HisPurchaseplan() {
	}

	public long getCgjhNo() {
		return this.cgjhNo;
	}

	public void setCgjhNo(long cgjhNo) {
		this.cgjhNo = cgjhNo;
	}

	public BigDecimal getAuditNo() {
		return this.auditNo;
	}

	public void setAuditNo(BigDecimal auditNo) {
		this.auditNo = auditNo;
	}

	public String getCgjhAuditstatus() {
		return this.cgjhAuditstatus;
	}

	public void setCgjhAuditstatus(String cgjhAuditstatus) {
		this.cgjhAuditstatus = cgjhAuditstatus;
	}

	public Date getCgjhAudittime() {
		return this.cgjhAudittime;
	}

	public void setCgjhAudittime(Date cgjhAudittime) {
		this.cgjhAudittime = cgjhAudittime;
	}

	public Date getCgjhTime() {
		return this.cgjhTime;
	}

	public void setCgjhTime(Date cgjhTime) {
		this.cgjhTime = cgjhTime;
	}

	public String getCkProducttype() {
		return this.ckProducttype;
	}

	public void setCkProducttype(String ckProducttype) {
		this.ckProducttype = ckProducttype;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

}